// TOWN DIALOGUE SCRIPT
//    Town 41: Ghikra

begintalkscript;

variables;

short i,j,k,r1,choice;

// Rentar-Ihrno

begintalknode;
	tag = 40;
	state = -1;
	nextstate = 1;
	question = "Rentar-Ihrno";
	text1 = "This vahnatai is carving a tall spiral of crystal, maneuvering the tools with remarkable speed and skill. Her hands are a blur. Puffs of crystal dust fly into the air. Then she detects your presence and turns, and you realize who you have met.";
	text2 = "You stand before the most powerful of the vahnatai: the archmage Rentar-Ihrno. She was Avernum's greatest ally during the Empire War. She inspects you curiously. She doesn't seem to feel you merit much of her attention. _Avernum visitor. Yes. I am Rentar-Ihrno._ ";
	text5 = "Rentar-Ihrno watches you. You can't read any emotions on her alien face. _What is it you require?_";
	action = INTRO;

begintalknode;
	state = 1;
	nextstate = -1;
	condition = gf(41,12) == 0;
	question = "_Greetings to you, Rentar-Ihrno._";
	text1 = "She nods. _Greetings, outsider. I have been in communication with Anaximander. I have learned that you are the surface explorer. That is why I have allowed you to see me._";
	text2 = "_We wish for our allies to find the way to the surface. That is why I wish to help you, why I have moved my work up here, and why I brought great treasures with me._";
	action = SET_SDF 41 12 1;

begintalknode;
	state = 1;
	nextstate = 2;
	condition = gf(41,12) >= 1;
	question = "_What sort of work do you do here?_";
	text1 = "She sighs, resigned to waste time talking to you. _I am Ihrno to my people and mistress of Ghikra. I do my research and protect our treasures._";

begintalknode;
	state = 2;
	nextstate = 4;
	question = "_What does Ihrno mean?_";
	text1 = "_Ihrno is an honorary title. It means 'person of great learning.' It is appropriate that I should bear it, as I am the most magically talented of my people._";

begintalknode;
	state = 4;
	nextstate = 2;
	question = "_Exactly who are your people?_";
	text1 = "_The vahnatai are my people. We live in the caves far below you, and wish only to live safely and undisturbed. Honestly, who could wish for more?_";

begintalknode;
	state = 2;
	nextstate = 5;
	question = "_Why was Ghikra built?_";
	text1 = "_When the war against the Empire was won, we decided we should maintain contact with the beings we shared these caves with. That is the purpose of Ghikra. It is the conduit through which communication between our peoples shall pass._";
	text2 = "_I am here to control it. And to guard it. And we also wish to watch your efforts to reach the surface._";

begintalknode;
	state = 1;
	nextstate = 3;
	condition = gf(41,12) >= 1;
	question = "_What sorts of treasure do you keep here?_";
	text1 = "_Our Crystal Souls, the spirits of our ancestors in physical form, and even more powerful and knowledgeable than myself. I hope to be one myself. Alas, others covet them._";
	text2 = "_We have two of them here and guard them completely. However, we do allow some to visit them._";

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_There don't seem to be many guards about._";
	text1 = "_Many of our defenses are not obvious. As the Empire taught us, we have great treasures others may covet._";

begintalknode;
	state = 5;
	nextstate = 6;
	question = "_We have no great love for the Empire ourselves._";
	text1 = "_We feel not all humans are bad. The Empire humans, however, have proved to be foes to us. It is good they are on the surface, away from us._";

begintalknode;
	state = 6;
	nextstate = -1;
	question = "_I am an explorer who is being sent to the surface._";
	text1 = "_So I am aware. You must be careful on the surface. The Empire is still a strong foe, and we will not be able to aid you. The sun is harmful to us._";
	text2 = "_Still, I can help with information. When you have been to the surface, tell me of strange creatures you find. Perhaps I can give insight._";
	action = SET_SDF 41 14 1;

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_Why are they up here? Wouldn't they be safer in your lands?_";
	text1 = "_They would, but that is not what they wish. They wish to be nearer you humans, so they can learn of you. How can they guide us if they can't first learn?_";

begintalknode;
	state = 3;
	nextstate = -1;
	question = "_Could we be allowed to visit them?_";
	text1 = "She looks uncomfortable. _They have said they wish to see humans who visit. I dislike letting humans near them, but their wishes are paramount._ She makes a few hand motions. ";
	text2 = "_You may now pass the barriers that keep you from them._";
	action = SET_SDF 41 9 1;

begintalknode;
	state = 4;
	nextstate = -1;
	question = "_How magically talented are you?_";
	text1 = "_Great are my powers._ She gets a peculiar expression on her face. It's difficult enough telling how a vahnatai is feeling under normal circumstance. Sometimes, it's simply impossible.";
	text2 = "The moment passes, however. She simply says, _Do not trifle with us._";

begintalknode;
	state = 2;
	nextstate = -1;
	question = "_May I ask about your research?_";
	text1 = "She frowns. _That I prefer not speaking of._";

begintalknode;
	state = 1;
	nextstate = 7;
	condition = gf(41,12) >= 1;
	question = "_Why do you want to help us reach the surface?_";
	text1 = "_We all have our places. The place of the vahnatai is in the underworld. The place of the humans is on the surface. We hope for each to be in their place, for the health of all._";

begintalknode;
	state = 7;
	nextstate = -1;
	question = "_The health of all?_";
	text1 = "_The resources of the caves are so limited. There is little food, little life. We fear a shortage of life and sustenance if too many live below. Thus, you being on the surface would sustain us all._";

begintalknode;
	state = 1;
	nextstate = 70;
	condition = gf(309,8) >= 1 && gf(41,12) >= 1;
	question = "_We found some strange, magical crystals near the giants and troglodytes._";
	text1 = "You tell Rentar-Ihrno of the crystal shards you found under the giant's fortress. She isn't impressed. _Many besides us use crystal magic now. I know nothing of what happens up there now. We are not responsible._";

begintalknode;
	state = 1;
	nextstate = 8;
	condition = gf(308,9) >= 1 && gf(41,14) >= 1;
	question = "_I have been to the surface and explored._";
	text1 = "_Really? Tell me more of it. If there is something unusual, I may offer guidance._";

begintalknode;
	state = 8;
	nextstate = -1;
	condition = gf(41,13) <= 1 && gf(307,1) >= 1;
	question = "_I have seen strange slime creatures. We've never heard of anything like them._ (Describe them.)";
	text1 = "_That is very interesting and strange. I have never heard of any such thing in the underworld. I have no idea where they might have come from. I am intrigued. If you find out what is creating the creatures and tell me, you would have my gratitude._";
	action = SET_SDF 41 13 1;
	code =
		toggle_quest(21,1);
	break;

begintalknode;
	state = 8;
	nextstate = -1;
	question = "_There are very few humans living near Fort Emergence._";
	text1 = "_This is a good thing. That may mean you may be able to claim some land and leave the underworld. That would be much better for all._";

begintalknode;
	state = 8;
	nextstate = -1;
	condition = gf(307,4) >= 1 && gf(41,23) == 0;
	question = "_I found an island infested with giant, disease-ridden bugs._ (Describe them.)";
	text1 = "_How strange and disturbing. The way you describe the dirty things, they may breed in filth and garbage. I don't know how you might find such a pit of filth on that island, but someone there might know more of it._";
	code =
		sf(41,23,1);
		award_party_xp(50,10);
	break;
	
begintalknode;
	state = 8;
	nextstate = -1;
	condition = gf(307,9) >= 1 && gf(41,24) == 0;
	question = "_Northeastern Valorim is infested with golems._ (Describe them.)";
	text1 = "_They sound deadly. Far beyond your skills, at least. You had best avoid them completely. You have come too far to be slain for no reason._";
	code =
		sf(41,24,1);
		award_party_xp(50,20);
	break;

begintalknode;
	state = 1;
	nextstate = -1;
	condition = gf(41,13) == 1 && gf(307,3) >= 1;
	question = "_I found and destroyed the huge slime which was spawning the small ones._ (Describe it.)";
	code =
		run_hardcode(5);
	break;

begintalknode;
	state = 70;
	nextstate = 71;
	question = "_Who do you think is responsible?_";
	text1 = "_It is a great mystery, it is true. I, myself, suspect Erika. She lives miles to the north, but I feel the passion of her hatred for the Empire from here. They are the ones who cursed her._";

begintalknode;
	state = 71;
	nextstate = -1;
	question = "_What sort of curse?_";
	text1 = "_They cursed her when they sent her to Avernum. The slightest touch of sunlight will destroy her instantly. Very galling to one with her pride._";

// Glantris-Bok

begintalknode;
	tag = 60;
	state = -1;
	nextstate = 29;
	question = "Glantris-Bok";
	text1 = "You approach a large, perfectly flawless blue crystal, about a foot and a half high. As you do, you feel disoriented, as if someone other than you is inside your head. You hear a gentle voice in your mind: _I am Glantris-Bok. I am a Crystal Soul._";
	text5 = "The smooth voice in your head resumes. _How else may I guide you, outsider?_";
	action = INTRO;

begintalknode;
	state = 29;
	nextstate = -1;
	question = "_What is a Crystal Soul?_";
	text1 = "_I lived in physical form twelve hundred years ago. Then, at the point of death, I was shifted into this form to exist for millennia more in service. It is the greatest honor my people can give. I am blessed._";

begintalknode;
	state = 29;
	nextstate = 30;
	question = "_What purpose do you serve?_";
	text1 = "_I exist for only one purpose: to help my people. It is our greatest honor._";

begintalknode;
	state = 30;
	nextstate = 31;
	question = "_How is it an honor?_";
	text1 = "_What could be greater? Long after you are dust, I will still be serving my race. I will remember you, and someday, a thousand years from now, I will instruct a young vahnatai by telling him or her of your struggles._";
	text2 = "_That is what I do. I learn, remember, and advise._";

begintalknode;
	state = 31;
	nextstate = -1;
	question = "_You must have an enormous memory._";
	text1 = "_In this form, I remember everything I hear, everything I see. It is a great gift._";

begintalknode;
	state = 31;
	nextstate = 32;
	question = "_So you are basically an advisor?_";
	text1 = "_Often, my people come to me for advice on what to do. I always give it. They do not always take it, but usually they do._";
	text2 = "_This is why I told Rentar-Ihrno to let you see me. There is information I wish to impart to you._";

begintalknode;
	state = 32;
	nextstate = 33;
	question = "_I'm all ears. Please go ahead._";
	text1 = "The voice in your head gets quiet, so that you have to struggle to make it out. _When you reach the surface, and deal with the Empire as it is today, remember Ouroboros._";

begintalknode;
	state = 33;
	nextstate = -1;
	question = "_I'm not familiar with this word. Ouroboros?_";
	text1 = "_Ouroboros was the snake of legend, that was so mighty it encircled the world and ate its own tail. It was all-powerful, and yet devoured itself. As you see the surface, remember that image._";
	text2 = "_And that is all I have to say on the subject._ The voice in your head fades away. The presence is gone.";
	action = END_TALK;

begintalknode;
	state = 29;
	nextstate = -1;
	condition = gf(309,8) >= 1;
	question = "_I found out that the giants and troglodytes were kept separated by powerful crystal magic._";
	text1 = "_I understand your concern, but many besides the vahnatai use crystals for magic. We are not responsible._";

begintalknode;
	state = 30;
	nextstate = -1;
	question = "_Do you enjoy your life as a stone?_";
	text1 = "You sense confusion in your mind. _Enjoy? What is this enjoy? I exist to serve. I exist to help. There is no thought of enjoy. It is of no importance. I am of good, not enjoyment._";

begintalknode;
	state = 31;
	nextstate = 34;
	question = "_I would like to learn more about the vahnatai. They are fascinating._";
	text1 = "_I am gratified that you would like to learn. The purpose of Ghikra is to teach. We wish to learn from our contact with humans. For an offering, I will instruct you in our ways, if this interests you._";

begintalknode;
	state = 34;
	nextstate = -1;
	question = "_Please instruct me._";
	text1 = "You conclude your business.";
	code =
		begin_shop_mode("Glantris-Bok","In return for an offering, this Crystal Soul will transmit knowledge about the vahnatai directly into your mind. It's a surprisingly efficient way to learn.",6,4,3);
	break;

begintalknode;
	state = 34;
	nextstate = 29;
	question = "_That is all right._";
	text1 = "_All right. As you humans say, I am not moving anywhere._";

// Vyvnas-Bok

begintalknode;
	tag = 80;
	state = -1;
	nextstate = 57;
	question = "Vyvnas-Bok";
	text1 = "This is a perfectly flawless blue crystal. As you approach, there is a scratchy, discordant sensation in your head. It is a voice in your mind, and it is loud.";
	text2 = "_I ammmm Vyvvnas-BOK!_ You've heard of it! This is one of the Crystal Souls stolen by the Empire.";
	text5 = "You continue to feel the harsh pressure inside your skull, as if something has pushed its way in. A harsh and disturbed voice in your mind says, _Speak further._";
	action = INTRO;

begintalknode;
	state = 57;
	nextstate = -1;
	question = "_I want to learn from you._";
	text1 = "_Glantris. TALK! Talk to Glantris. The unbroken of us. It can still help._";

begintalknode;
	state = 57;
	nextstate = 58;
	question = "_May we speak with you?_";
	text1 = "_I am here! Here!_ You wince. The rough presence in your mind is getting very uncomfortable.";

begintalknode;
	state = 57;
	nextstate = -1;
	question = "_Can you tell us about your experiences with the Empire?_";
	text1 = "Your head is filled with an intense, horrifying screeching. You back away, in horrible pain. Then it subsides. But the presence in your head is gone.";
	action = END_TALK;

begintalknode;
	state = 58;
	nextstate = 59;
	question = "_Umm. Yes. Do you understand me?_";
	text1 = "Unexpectedly, the voice in your head calms. _Apologies. I am still recovering from my imprisonment._";

begintalknode;
	state = 59;
	nextstate = 60;
	question = "_What did the Empire do to you?_";
	text1 = "_They I... I... I... may not... must not mention tested on me, twisting my thoughts on myself, to get me to BREAK TO SERVE THEM!_ The volume of the voice is agonizing. Mercifully, it calms down.";
	text2 = "_Now I lend my paranoia to my people._";

begintalknode;
	state = 60;
	nextstate = 61;
	question = "_How?_";
	text1 = "_Strange that must sound, but I am my people's fear. They must share their caves and their scarce resources with you humans and others. And the ... the ... the bad people are on the surface above us all._";
	text2 = "_I am their constant reminder that it's not about whether you're paranoid but whether you are paranoid enough._";

begintalknode;
	state = 61;
	nextstate = -1;
	question = "_I see._";
	text1 = "_I remind about what some want to do to us! WHAT THEY DO TO ME... ME... WHAT CAN ALWAYS HAPPEN!_ You back away under the force of this poor mad being's thoughts.";
	text2 = "_We are strong but weak. Everyone must guard everyone from everyone._ It pauses. _Now I am tired. Leave me. Humans are often bad._ Then there is silence.";
	action = END_TALK;

// Koriba

begintalknode;
	tag = 100;
	state = -1;
	nextstate = 85;
	question = "Koriba";
	text1 = "You meet a vahnatai male, wearing the translucent, softly glowing poncho that is the standard dress for their race. He is carving a gentle spiral of crystal with a small, elegant knife.";
	text2 = "When you approach, he rises to his full imposing height and gives you a deep bow. _I am called Koriba._";
	text5 = "Koriba looks up from his crystal. You think he's smiling, but you aren't sure. _What else requiring?_";
	action = INTRO;

begintalknode;
	state = 85;
	nextstate = 86;
	question = "_What are you doing?_";
	text1 = "_I shape crystals. They are having many uses._ Like most Vahnatai, his grasp of your tongue is very poor.";

begintalknode;
	state = 86;
	nextstate = -1;
	question = "_May I have a look at your work?_";
	text1 = "He holds up the spiral he was working on. It catches the dim light and sparkles beautifully. _Is there ever anything so lovely, so orderly?_";

begintalknode;
	state = 86;
	nextstate = 87;
	question = "_What sort of uses?_";
	text1 = "_It is the basis of our artisticness, and of our magicalness._";

begintalknode;
	state = 87;
	nextstate = 88;
	question = "_How does it display artisticness?_";
	text1 = "He looks somber. _I wish I could say. I had a good way to showing you. I had best example which is not here for showing. It was a statue, but it was stolen._";
	text3 = "_Yes, as you saw in the statue you returned to me, the deep loveliness. Your returning again for which I give many thanks._";
	action = DEP_ON_SDF 41 11 1;

begintalknode;
	state = 88;
	nextstate = -1;
	condition = gf(41,11) <= 1;
	question = "_I could look for your stolen statue._";
	text1 = "He nods. _Recently, a courier carrying a crystal statue I made was slain. Bandits did, statue stolen. Yet another theft by humans. If you can recover it and bring it to me, I will reward you with another of my crystals._";
	text2 = "_Bandits live to east. Maybe they know of statue._";
	action = SET_SDF 41 11 1;
	code =
		toggle_quest(19,1);
	break;

begintalknode;
	state = 87;
	nextstate = 89;
	question = "_Magicalness?_";
	text1 = "_Yes. Much magic we make with crystal items. For a example, I make the magic soul stones often. And on days of power, I even make the spellshards and learning shards._";

begintalknode;
	state = 89;
	nextstate = 90;
	question = "_Soul stones? Like the Crystal Souls?_";
	text1 = "_Not quite. We call my stones Spirit Prisms. They are used for certain spells to trap creatures to be called forth later. Very strong._";
	text2 = "He looks at you slyly. _In fact, certain such spells we are not forbidded from making for purchase to outside people. For prices._";

begintalknode;
	state = 90;
	nextstate = -1;
	question = "_What spells can you teach us?_";
	text1 = "_Me, no spells. But there is a wise traveler here who teaches the spells which place spirits of foes in a crystal._";

begintalknode;
	state = 85;
	nextstate = -1;
	condition = gf(41,11) == 1 && has_spec_item(32);
	question = "_I believe that I found your crystal statue._";
	code =
		run_hardcode(110);
	break;

begintalknode;
	state = 90;
	nextstate = 88;
	condition = gf(41,11) <= 1;
	question = "_Can I have one of those crystals?_";
	text1 = "_Now? No. Perhaps later, if you can be doing small service to me. A certain lovely statue was stole from us._";

begintalknode;
	state = 89;
	nextstate = -1;
	question = "_What is a spellshard?_";
	text1 = "_A marvelous item of magic. Is stone that hold a spell, and recharge from energy all around us. One time each day, can release that spell, and the next day spell is there anew._";
	text2 = "_Very marvelous. Very rare._";

begintalknode;
	state = 89;
	nextstate = -1;
	question = "_What is a learning shard?_";
	text1 = "_A crystal infused with the learning of our people. Hold one to your head, and our wisdom and skill can enter into you directly._";
	text2 = "_Very marvelous. Very rare._";

// Vahnatai Shade

begintalknode;
	tag = 120;
	state = -1;
	nextstate = 113;
	question = "Vahnatai Shade";
	text1 = "From a ways away, this looked like a formidable vahnatai warrior. When you get close, you realize that it isn't actually here. It's very slightly translucent. It looks at you as if it is alive, however.";
	text5 = "The shade stares at you. Its face is very fuzzy. Even if you could read vahnatai emotions, you couldn't understand what he is thinking.";
	action = INTRO;

begintalknode;
	state = 113;
	nextstate = 114;
	question = "_What are you?_";
	text1 = "It says in an emotionless voice, _I have been left here with a message._";
	action = SET_SDF 309 16 1;

begintalknode;
	state = 114;
	nextstate = 115;
	question = "_You may deliver your message._";
	text1 = "_My creators wish me to tell you not to interfere with us. Our great vengeance will not be interrupted._";

begintalknode;
	state = 115;
	nextstate = -1;
	question = "_Who are your creators?_";
	text1 = "_Rentar-Ihrno and others._";

begintalknode;
	state = 115;
	nextstate = 116;
	question = "_But I may have to interfere._";
	text1 = "_The Empire stole three of our Crystal Souls. They stole the soul of our people. You cannot comprehend the magnitude of this offense._";

begintalknode;
	state = 116;
	nextstate = 117;
	question = "_Well, try to explain the offense so that we might understand._";
	text1 = "_Picture if someone violated and destroyed those you loved most. Such it was with us. The Empire must be destroyed. Those who live in the Empire are a part of it and must be destroyed. The Empire's lands must be destroyed._";
	text2 = "_Those who try to prevent our vengeance must be destroyed._";

begintalknode;
	state = 117;
	nextstate = -1;
	question = "_But you're killing innocent people and destroying the land we wish to live in._";
	text1 = "The shade begins to fade. _Your destruction of the Crystal Souls creating the golems can be forgiven under these circumstances. Do not oppose us further, however._";
	text2 = "_Aid the great enemy, you become the great enemy. Forever. The Empire and its lands must be ashes. Remember this, and choose wisely._ The shade disappears.";
	action = END_TALK;
	code =
		sf(41,19,1);
		erase_char(4108);
	break;

// Ohar

begintalknode;
	tag = 140;
	state = -1;
	nextstate = 141;
	question = "Ohar";
	text1 = "This vahnatai is tall and spindly even by vahnatai standards, over seven feet tall and twig thin. He sits in front of the fire pit, carefully polishing an amazingly sharp waveblade. _Welcome! It is a pleasure to meet outsider at last! I am Ohar._";
	text5 = "Ohar reluctantly sets aside his work to speak with you. _What else is pleasure?_";
	action = INTRO;

begintalknode;
	state = 141;
	nextstate = 142;
	question = "_What do you do here in Ghikra?_";
	text1 = "_Craft of weapon. Our blades different than yours, yet made under the same overprinciple._";

begintalknode;
	state = 142;
	nextstate = 144;
	question = "_How are your weapons different?_";
	text1 = "_Much effort goes into each weapons, many hours of crafting and perfecting. Unlike many of us, however, am eager to display our skill to human._";

begintalknode;
	state = 142;
	nextstate = 143;
	question = "_What principles are the same?_";
	text1 = "_We have melee weapons, like you: our waveblade. And we have missiles, like you: our razordisk. Though not the variety, I grant._";

begintalknode;
	state = 144;
	nextstate = 141;
	question = "_May I see your work?_";
	text1 = "He presents several recently crafted wave blades and neatly wrapped stacks of razor disks. _If you wish to purchase any of my work, let me know._";

begintalknode;
	state = 143;
	nextstate = 142;
	question = "_You have very few sorts of weapons._";
	text1 = "_You humans have such a bewildering array of deadly weapons. We are in wonder that you keep them straight._";
	text2 = "_We have what need. Deadly. Is enough._";
	
begintalknode;
	state = 141;
	nextstate = -1;
	question = "_Can I purchase some of your weaponry?_";
	text1 = "You conclude your business.";
	code =
		begin_shop_mode("Ohar's Weaponry","Very few vahnatai will sell their weaponry to outsiders. Ohar is honoring you by giving you a chance to purchase some of his blades. The prices are, however, considerable.",7,5,3);
	break;

begintalknode;
	state = 141;
	nextstate = -1;
	question = "_That is all I need._";
	text1 = "_Then thanks for honor. Love showing of fine deadly crafts._";
	action = END_TALK;
	
// Tekora-Tel

begintalknode;
	tag = 160;
	state = -1;
	nextstate = 169;
	question = "Tekora-Tel";
	text1 = "A tall, dignified vahnatai is walking this garden, humming in meditation. His skin has the dry, dusty sheen that is a sign of an aging vahnatai.";
	text2 = "He says, _I am Tekora-Tel, of Avit._ The Tel after his name means he is a leader or mayor of some sort.";
	text5 = "Tekora-Tel bows his head modestly. _How else can I assist, friend to us?_";
	action = INTRO;

begintalknode;
	state = 169;
	nextstate = 170;
	question = "_Why are you here in Ghikra?_";
	text1 = "_I am leader and teacher. I come from our city of Avit with my pupil, searching for one of our number._";

begintalknode;
	state = 170;
	nextstate = -1;
	question = "_Where is Avit? Tell me of it._";
	text1 = "_My home, one of our finest cities in lands far, far below. My city was the first to greet the humans. This fact is related to my search._";

begintalknode;
	state = 170;
	nextstate = 169;
	question = "_Who is your student?_";
	text1 = "_My student, Kyhar, is near. Speak to her if you wish. I wish her to meet humans._ He thinks. _This is reminding. I teach magic to those I find. Wish you to purchase spells from me?_";

begintalknode;
	state = 170;
	nextstate = 171;
	question = "_Who are you searching for?_";
	text1 = "_One of our mages, Bon-Ihrno, disappeared. He was hero among us, the first to befriend you humans and to bring Avernum people into our lands. He said he was going on a journey, and has not been seen for months._";
	text2 = "_It is a worrying mystery._";

begintalknode;
	state = 171;
	nextstate = -1;
	question = "_Yes, that does sound worrying._";
	text1 = "_Should you ever meet him, return here to me. I wish much to know of where he has gone._";

begintalknode;
	state = 169;
	nextstate = -1;
	condition = gf(41,11) >= 2;
	question = "_Can you teach me spells?_";
	text1 = "You conclude your business.";
	code =
		begin_shop_mode("Tekora-Tel","Tekora-Tel can teach you how to use your Spirit Prism. These two powerful spells can enable you to store copies of your foes and then create clones later to serve you.",8,2,3);
	break;

begintalknode;
	state = 169;
	nextstate = -1;
	condition = gf(41,11) <= 1;
	question = "_Can you teach me some magic?_";
	text1 = "He thinks. _I can teach the magic uses of a stone called a Spirit Prism. If you don't have one, though, I can't teach. Perhaps someone here can help you get this stone._";

begintalknode;
	state = 171;
	nextstate = -1;
	question = "_Why might Bon-Ihrno have disappeared?_";
	text1 = "_We do not know. We know that, suddenly, some months ago, he became very agitated, as if he discovered something. Then was gone. We think he found out the Empire was doing something. Dangerous._";
	text2 = "_But we are not sure._";

begintalknode;
	state = 169;
	nextstate = -1;
	question = "_Farewell to you._";
	text1 = "_And well faring to you too._";
	action = END_TALK;

// Kyhar

begintalknode;
	tag = 180;
	state = -1;
	nextstate = 197;
	question = "Kyhar";
	text1 = "You meet a vahnatai child, so young she is slightly shorter than you. She looks up at you with great curiosity.";
	text2 = "_My calling is Kyhar._ She can speak your tongue correctly, but only if she speaks very slowly. She must be very familiar with humans.";
	text5 = "Kyhar smiles. She makes a surprisingly human-looking gesture. _Is there any other way I can be of use to you?_";
	action = INTRO;

begintalknode;
	state = 197;
	nextstate = 198;
	question = "_Do you live here?_";
	text1 = "_No, I am currently learning and traveling._ Her speech is perfect. It's as if she's being trained as a diplomat.";

begintalknode;
	state = 198;
	nextstate = 199;
	question = "_Not alone, I hope._";
	text1 = "_No, I travel with my master, Tekora-Tel. He teaches me all he knows regarding magic and alchemy._";

begintalknode;
	state = 199;
	nextstate = -1;
	question = "_What sort of magic have you learned?_";
	text1 = "She looks embarrassed. At least, that's what you think it is. _I have learned little magic, so far. My training is currently in the preliminary stages._";

begintalknode;
	state = 199;
	nextstate = 200;
	question = "_Do you know much alchemy yet?_";
	text1 = "_Yes! We vahnatai learn alchemy before magic. To treat the crystals for our magic, we must make many caustic concoctions._";

begintalknode;
	state = 200;
	nextstate = -1;
	question = "_How old are you?_";
	text1 = "_I am very young, I am afraid. A mere seventy years old!_ You shake your head in astonishment at this. She is only as large as a human child of about ten.";


begintalknode;
	state = 197;
	nextstate = 201;
	question = "_You speak our tongue well. You know a lot about humans?_";
	text1 = "_I am in training to be a diplomat. I am trying to learn about humans. You are, however, a confusing species. There is much left for me to learn._";

begintalknode;
	state = 201;
	nextstate = 202;
	condition = gf(41,18) == 0;
	question = "_Perhaps I can help._";
	text1 = "_All right then. Answer this question. A man does great harm to one you love, but escapes the judgment of your revered ones. You then encounter this man, wounded in the wilderness._";
	text2 = "_His spirit relies upon you for succor. Do you save him or let him pass to the next life?_";

begintalknode;
	state = 202;
	nextstate = -1;
	condition = gf(41,18) == 0;
	question = "_I would let him die._";
	text1 = "Kyhar nods. _Ah. Usurping the position of the revered ones. Interesting._";
	action = SET_SDF 41 18 1;

begintalknode;
	state = 202;
	nextstate = -1;
	condition = gf(41,18) == 0;
	question = "_I would save his life, though I wouldn't like it._";
	text1 = "Kyhar nods. _Submission to the judgments of the revered ones. Very interesting._";
	action = SET_SDF 41 18 1;

begintalknode;
	state = 202;
	nextstate = -1;
	condition = gf(41,18) == 0;
	question = "_It's very complicated. I'm not sure._";
	text1 = "Kyhar nods. _Ambivalence regarding the judgments of a revered one. Interesting._";
	action = SET_SDF 41 18 1;

